#!/usr/bin/env python
# -*- coding:utf-8 -*-
"""
    @文件名      :zuixing.py
    @时间       :2024/5/11 下午9:39
    @作者       :刘继泽
"""

import subprocess
import zlib
import maya.cmds as cmds
import maya.mel as mel
import re, os
import maya.cmds as cmds
import maya.OpenMayaUl as OpenMayaUl
from shiboken6 import wraplnstance
from PySide6.QtCore import *
from PySide6.QtGui import *
from PySide6.QtWidgets import *
from PySide6.QtMultimedia import *
import waveSegment
class MyPoint(QFrame):
	def __init__ (self, parent=None):
		super(MyPoint, self). __init__ (parent)
		self.setStyleSheet('QFrame {background-color:yellow;border: 4px yellow;border-radius: 4px;}')
		self.setFixedSize(9, 9)
		self.is_selected = True
		self.is_enter = True
		self.SetSelect(True)
		self.setFocus()
		self.frame =0
		self.value =0
		self.frame_text = QLabel(parent.parent())
		self.frame_text.setParent(parent.parent())
		self.frame_text.setAttribute(Qt.WA_TransparentForMouseEvents)
		self.frame_text.setFixedSize(60,17)
		self.frame_text.setStyleSheet('background-color:transparent;color:white ')
		self.frame_text.show()
	def SetFrame(self, f, value=None):
		self.frame =int(f)if value == None:
		self.value =1-self.pos(.y0 / float(self.parent0.height0) -self.parent0.margin height)
		else:
		self.value = value
		v=round(self.value,4)
if __name__ == "__main__":
